<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `phome_enewsgoodtype`;");
E_C("CREATE TABLE `phome_enewsgoodtype` (
  `tid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `tname` varchar(60) NOT NULL DEFAULT '',
  `ttype` tinyint(1) NOT NULL DEFAULT '0',
  `levelid` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `myorder` smallint(6) NOT NULL DEFAULT '0',
  `groupid` varchar(255) NOT NULL DEFAULT '',
  `showall` tinyint(1) NOT NULL DEFAULT '0',
  `showcid` text NOT NULL,
  `hiddencid` text NOT NULL,
  PRIMARY KEY (`tid`),
  KEY `ttype` (`ttype`),
  KEY `levelid` (`levelid`),
  KEY `myorder` (`myorder`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8");
E_D("replace into `phome_enewsgoodtype` values('1','一级头条','1','1','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('2','二级头条','1','2','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('3','三级头条','1','3','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('4','四级头条','1','4','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('5','五级头条','1','5','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('6','六级头条','1','6','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('7','七级头条','1','7','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('8','八级头条','1','8','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('9','九级头条','1','9','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('10','一级推荐','0','1','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('11','二级推荐','0','2','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('12','三级推荐','0','3','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('13','四级推荐','0','4','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('14','五级推荐','0','5','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('15','六级推荐','0','6','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('16','七级推荐','0','7','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('17','八级推荐','0','8','0','','0','','');");
E_D("replace into `phome_enewsgoodtype` values('18','九级推荐','0','9','0','','0','','');");

require("../../inc/footer.php");
?>